package com.lonely.deliver.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lonely.common.core.domain.BaseEntity;
import com.lonely.deliver.enums.OrderDeliverSynchronizedTaskEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * @author 黄志标
 * @date 2025-08-15 17:29
 * @Description: 订单发货单同步任务表
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_order_deliver_synchronized_task")
public class SysOrderDeliverSynchronizedTask extends BaseEntity implements Serializable {

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 订单编号
     */
    private String produceOrderId;

    /**
     * 最后同步时间
     */
    private Date lastSyncTime;

    /**
     * 发货单状态
     *
     * @see OrderDeliverSynchronizedTaskEnum.StatusEnum
     */
    private Integer status;

}
